import Vue from 'vue'
import {mapState} from 'vuex'
export const mixinLogin = {
    data() {
        return {
            // loginState:true
        }
    },
    // Vuex白话教程第二讲：Vuex旗下的State和Getter  https://www.jianshu.com/p/946df1834963 
    // computed: {
    //     getIsShowSate(){
    //         return this.$store.state.isShowLogin
    //     }
    // }
    computed: mapState({
        // getIsShowSate:state=>state.isShowLogin
        getIsShowSate:'isShowLogin'
    }),
}